package indi.zhifa.recipe.bailan.busy.controller.init;

import indi.zhifa.recipe.bailan.framework.common.util.DtoEntityUtil;
import lombok.RequiredArgsConstructor;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

@Component
@RequiredArgsConstructor
public class AppInit implements CommandLineRunner {

    @Override
    public void run(String... args) throws Exception {
        DtoEntityUtil.init();
    }
}
